n = int(input())
r=0
sum=0
for j in range(1,n+1):
    for i in range(1,j+1):
        r+=i
    sum+=r
    r=0
print(sum)